﻿using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;

namespace ProjScan.Submodules.Shader_Analysis
{
	// Token: 0x0200017C RID: 380
	public class SAShaderPass
	{
		// Token: 0x06000D4B RID: 3403 RVA: 0x00006C46 File Offset: 0x00004E46
		public void Add(List<SAKeywordLine> keywordLines)
		{
			this.keywordLines.AddRange(keywordLines);
			this.method_0();
		}

		// Token: 0x06000D4C RID: 3404 RVA: 0x00006C5D File Offset: 0x00004E5D
		public void Add(SAKeywordLine keywordLine)
		{
			this.keywordLines.Add(keywordLine);
			this.method_0();
		}

		// Token: 0x06000D4D RID: 3405 RVA: 0x00006C74 File Offset: 0x00004E74
		public void Clear()
		{
			this.keywordCount = 0;
			this.keywordLines.Clear();
		}

		// Token: 0x06000D4E RID: 3406 RVA: 0x00006C8A File Offset: 0x00004E8A
		private void method_0()
		{
			this.keywordCount = 0;
			this.keywordLines.ForEach(new Action<SAKeywordLine>(this.method_1));
		}

		// Token: 0x06000D4F RID: 3407 RVA: 0x00006CAC File Offset: 0x00004EAC
		[CompilerGenerated]
		private void method_1(SAKeywordLine sakeywordLine_0)
		{
			this.keywordCount += sakeywordLine_0.keywordCount;
		}

		// Token: 0x04000822 RID: 2082
		public int passNum;

		// Token: 0x04000823 RID: 2083
		public List<SAKeywordLine> keywordLines = new List<SAKeywordLine>();

		// Token: 0x04000824 RID: 2084
		public int keywordCount;
	}
}
